import os

from ament_index_python.packages import get_package_share_directory


#def launch(launch_descriptor, argv):
def generate_launch_description():

    bringup_dir = get_package_share_directory('turn_on_bichon')
    launch_dir = os.path.join(bringup_dir, 'lauturn_on_bichon
    bichon_robot = IncludeLaunchDescription(
            PythonLaunchDescriptionSource(os.path.join(launch_dir, 'turn_on_bichon.launch.py')),
    )
    bichon_lidar = IncludeLaunchDescription(
            PythonLaunchDescriptionSource(os.path.join(launch_dir, 'bichon_lidar.launch.py')),
    )
    return LaunchDescription([
        bichon_robot,bichon_lidar,
        launch_ros.actions.Node(
            package='simple_follower_ros2',
            executable='lasertracker',
            name='lasertracker',
             ),
        launch_ros.actions.Node(
            package='simple_follower_ros2',
            executable='laserfollower',
            ),]
    )
